#!/bin/sh

adb root
adb remount

read -p "upload signed pd library?[y/n]:" SIGNED
if [ "$SIGNED" = "y" ]
then
    adb push output/libtracker_kcf_skel.so /vendor/lib/rfsa/adsp/
else
    adb push hexagon_ReleaseG_toolv85_v66/ship/libtracker_kcf_skel.so /vendor/lib/rfsa/adsp/
#    adb push hexagon_ReleaseG_toolv85_v66/ship/libfcvqueue_dsp_skel.so /vendor/lib/rfsa/adsp/
#    adb push hexagon_ReleaseG_toolv85_v66/libasyncdspq_skel.so /vendor/lib/rfsa/adsp/
fi
